/*
 * BizErrorInfo.java
 * business
 *
 * Created by ChenTao on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.net.exception;

import com.yidiandao.business.data.net.BaseResponse;

/** 网络业务错误信息类. */
public class BizErrorInfo {

    private String message;

    private int code;

    /** 服务端响应的信息. */
    private BaseResponse response;

    public BizErrorInfo(int code, String message, BaseResponse response) {
        this.message = message;
        this.code = code;
        this.response = response;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public BaseResponse getResponse() {
        return response;
    }

    public void setResponse(BaseResponse response) {
        this.response = response;
    }
}
